﻿using System.Collections.Generic;
using System.Threading.Tasks;
using cmdb.keede.common;
using cmdb.keede.entity;
using cmdb.keede.service.Contract;

namespace cmdb.keede.service
{
    public interface IVirtualHostInfoService
    {
        Task<BizResult<List<VirtualHostInfo>>> GetVirtualHostInfoesAsync(VirtualHostInfoRequest request, int pageIndex, int pageSize);

        Task<BizResult<VirtualHostInfo>> GetVirtualHostInfoAsync(int id);

        Task<BizResult<bool>> DeleteVirtualHostInfoAsync(int id);

        Task<BizResult<bool>> AddOrUpdateAppInfoAsync(VirtualHostInfo virtualHostInfo);
    }
}
